package map05;

public class Student {
    //学号
    private String son;
    //姓名
    private String name;

    public Student(String son, String name) {
        this.son = son;
        this.name = name;
    }

    public String getSon() {
        return son;
    }

    public void setSon(String son) {
        this.son = son;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    @Override
    public String toString() {
        return "Student{" +
                "son='" + son + '\'' +
                ", name='" + name + '\'' +
                '}';
    }
}
